package com.coms514.scheduleme;

import com.coms514.scheduleme.CalendarModel;
import com.google.api.services.calendar.Calendar;

import android.app.Application;
import android.widget.ArrayAdapter;

/**
 * global objects, use Context.getApplicationContext() to get a instance of this class
 * 
 * @author Qilin Li
 * 
 * */
public class ScheduleMe extends Application{

	/**
	 * @param args
	 */
	private String testString;
	com.google.api.services.calendar.Calendar client;
	String selectedCalendarId;
	
	EventInfo eventInfo = new EventInfo(); // used to pass data between different activities
	
	public void setClient(Calendar client) {
		this.client = client;
	}
	
	public void setSelectedCalendarId(String Id) {
		this.selectedCalendarId = Id;
	}
	
	public String getSelectedCalendarId() {
		return selectedCalendarId;
	}
	
	public com.google.api.services.calendar.Calendar getClient() {
		return this.client;
	}

}
